Non-Scan Detector Release Notes
Last Updated by Sahil Pahuja on October 6th, 2026.
Overview
This page provides an overview of Edgify's non-scan detector Release Notes
Non-Scan Detector version 0.5.4
Release Date: September 17th, 2026
Main goal: Patch release fixing video pipelines that convert frames on hardware. Intended to be deployed together with Agent 2.33.8.
Compatibility: Model: Fully compatible. Agent: Fully compatible. Agent 2.33.8 is required to send the new conversion-format parameters.
Major Features:
- The hardware color-conversion format can now be selected per deployment, separately for the detection stream and for recordings. This is done through the new
video_stream_convert_formatandrecording_convert_format/setupparameters. Agent 2.33.8 sets them fromVideoStream.convert_formatandVideoRecording.convert_format.
Improvements:
- When a hardware conversion passes its frames straight to a hardware encoder without leaving device memory, the pipeline now sets the format the encoder reads. Previously the two elements negotiated it themselves.
Fixes/improvements:
- Fixed
/setupfailing with a video stream error for JPEG streams decoded on hardware. The decoder could not negotiate with the incoming stream, so the pipeline stopped before the first frame and the detector stayed stuck onstarted. This affected thevahardware selection on the camera's native chroma sampling (for example, UDP/JPEG streaming from the Agent). Thevaapiandcpuselections were unaffected. The issue was not a 0.5.3 regression and also affected 0.5.2. - Fixed recordings and detection frames coming out black, torn or stale on some VA drivers. The hardware conversion requested a format with an alpha channel (
BGRA) that the hardware cannot produce, and these drivers returned bad frames without reporting an error. Both conversions (stream to detector, and detector to recording file) now write a format without an alpha channel.
API Changes:
Changes in /setup:
| Parameter | Change | Required | Note |
|---|---|---|---|
video_stream_convert_format | Added | No | GStreamer raw format for hardware conversion on the detection stream. Default: None (uses the format the converting element is known to work with) |
recording_convert_format | Added | No | GStreamer raw format for hardware conversion on the recording path. Default: None (uses the format the converting element is known to work with) |
Neither parameter is validated by the detector. An unsupported format fails GStreamer caps negotiation instead of being rejected at /setup.
Non-Scan Detector version 0.5.3
Release Date: September 10th, 2026
Main goal: Improvements to Agent–Non-Scan Detector communication, CPU usage control, restart handling, stability and logging.
Major Features:
- Webhook notifications for predictions and samples are now optional, with per-target controls. Predict and sample webhook traffic can be turned off while Non-Scan Detector alerts are still sent.
- Added support for Docker
cpu-shareson the managed Non-Scan Detector container. This soft-limits CPU usage against other processes while still allowing the detector to use idle CPU. - Added a
constant_streamingoption that keeps the video stream alive across Non-Scan Detector restarts instead of tearing it down and rebuilding it each time. - Non-Scan Detector session performance data (frame counts and stream statistics) is now sent to the backend. This allows comparison across dates, versions, hardware, sites and camera types.
Fixes/improvements:
- Resolved duplicate Start/Stop Session calls being forwarded to the Non-Scan Detector. The agent now filters out repeated calls for the same session.
- Reduced unnecessary restarts. After a failed status check, the agent retries twice more right away and only restarts the Non-Scan Detector after three failures in a row.
- Fixed the Non-Scan Detector freezing and becoming unresponsive during long sessions with many scans.
- Log timestamps now use the same format and timezone as the Agent.
- Added clear log messages for when the Non-Scan Detector is starting and when it is ready to accept calls.
Configuration Changes:
- Added
cpu_sharesconfiguration for the managed Non-Scan Detector Docker container. - Added
NonScanDetector.service.constant_streamingto keep a video stream target alive across Non-Scan Detector restarts. - Added per-target controls for predict and sample webhook notifications.
Non-Scan Detector version 0.5.2
Release Date: May 19th, 2026
Main goal: Bug fixes, spike analysis parameters, and improved Windows update handling.
Compatibility: Model: Fully compatible. Agent: Requires agent 2.32.0 or later.
Fixes/improvements:
- Parameters for spike analysis have been exposed, allowing configuration of FPS deviation thresholds and sliding window duration for spike detection.
- Optional device/element selection for color conversion when recording video.
- Properly stopping a running NS on Windows during an update. Previously, the Windows installer would terminate the NS process during updates, potentially leaving unreleased resources. Now, NS listens for a specific event that allows it to shut down gracefully. The process-termination mechanism remains as a fallback.
- Additional logging for the recorder.
- Configuration changes at startup.
API Changes:
Changes in /setup:
| Parameter | Change | Required | Note |
|---|---|---|---|
recording_dir | Removed | - | Delegated to RECORDING_DIR env/CLI |
recording_convert_hardware | Added | No | Default may not suit certain record parameters |
spikes_recognizer_allowed_fps_deviation | Added | Yes | FPS deviation threshold for spike detection |
spikes_recognizer_sliding_window_duration | Added | Yes | Sliding window in seconds for spike analysis |
Configuration Changes:
- Parameter
RECORDING_DIRhas been restored as it was prior to version 0.5.0, configurable via CLI (--recording-dir), environment variable (RECORDING_DIR), or config file (recording_dir). Default:recordings.
Non-Scan Detector version 0.5.1
Release Date: May 15th, 2026
Main goal: Supporting reproducibility, stability improvements, and Left-in-Cart enhancements.
Compatibility: Model weights for Left-in-Cart: Incompatible. Model config: Incompatible (both items-only and items+carts). Agent: Fully compatible.
Improvements:
- Added features for production reproducibility and comparison with offline results. Additional artifacts are now created during production to support offline analysis without affecting algorithm behavior.
- Improvements to the alert decision for Left-in-Cart. The new checkpoint contains 4 classes instead of 2, allowing better identification of edge cases and improved business metrics.
- NS has become more resilient to stream instability (frame bursts). The internal buffer between the stream reading thread and the processing thread now has externally configurable size (default increased) and a new maximum latency parameter. Frames older than the threshold are discarded, ensuring the algorithm always processes recent events.
API Changes:
New parameters in /setup:
| Parameter | Required | Default | Note |
|---|---|---|---|
buffer_size | No | 30 | Mainly affects RAM consumption |
max_latency_sec | No | 2.0 | Defines the maximum age of a frame |
work_dir | No | work_dir | Folder for intermediate runtime artifacts; cleaned after session end |
New keys in /end_session payload:
| Key | Note |
|---|---|
lp_dropped_stale_frames | Frames discarded because they exceeded max latency |
lp_dropped_full_frames | Frames discarded from buffer to make room for newer ones |
artifacts_file_name | Archive for offline analysis; upload along with existing files |
Non-Scan Detector version 0.5.0
Release Date: April 29th, 2026
Main goal: Complete project refactoring to improve extensibility, strict typing, and resolve race conditions in status and internal parameters.
Compatibility: Model weights: Compatible. Model config: Compatible. Agent: Requires agent 2.31.0 or later.
Major Features:
- Complete project refactoring. Incompatibilities exist at various levels.
- All I/O components now operate in separate threads and no longer interfere with each other (no shared parameters, state, or locks).
- Request body is strictly validated. Responses have a fixed top-level structure:
{"status": "...", "message": "...", "payload": ...}. - New application states added:
STARTED(intermediate betweenINITIALIZEDandRUNNING),STOPPED(clean stop, previously conflated withINITIALIZED),RELEASED(terminal state for resource cleanup).SHUTTING_DOWNhas been removed and replaced withRELEASED. - Parameters affecting business metrics no longer have default values.
- Error propagation strategy changed from exception suppression to full propagation. Exceptions are always raised with full traceback in logs. The list of statuses and codes for responses has been expanded.
- Video recording moved to a separate thread with a 60-frame buffer between reading and writing. The component is error-tolerant: if the recording pipeline cannot be used, the recorder enters
STOPPEDstate without crashing the application.
Behavioral Changes:
- Business logic decomposition: Business logic and communication code are now independent. RestAPI is just one communication implementation. Implementing a different transport or launching multiple Loss Prevention instances with a single shared transport becomes trivial.
- Clock correction: Corrections via
/sync_clockare now pended and only applied for the next session, without corrupting the timings of the current active session. The applied value is returned in the/start_sessionresponse. - FPS definition: FPS detection will rely on stream parameters at runtime. FPS fallback from configuration is allowed for compatibility but may not be supported in the future.
API Changes:
New errors and statuses:
| Error | Endpoint | Status Field | Code |
|---|---|---|---|
InvalidConfigError | /setup | invalid-config | 400 |
InvalidModelError | /setup | invalid-model | 400 |
VideoStreamError | /setup | video-unavailable | 400 |
SetupError | /setup | setup-failed | 400 |
StateError | all POST | invalid-state-error | 409 |
MisbehaviorError | all POST | misbehavior-error | 409 |
ValidationError | all POST | validation-error | 422 |
ThreadAppError | after /start_session | components-error | 500 |
- Endpoints
/sync_clock,/get_state,/reset,/shutdown, and/versioncan be used regardless of these statuses and application state. - Request validation now rejects unexpected keys with descriptive error messages:
{"status": "validation-error", "message": "Unknown field(s): ['extra_field']. Required: [...]. Optional: [...]"}.
Configuration Changes:
- Startup parameters and algo-related parameters (in
/setup) are now separated. During app launch, only the following can be set:host,port,log_dir,log_debug,account_token,tls_key,tls_cert,clock_diff. - Priority for selecting a parameter value when present in multiple sources: CLI > Env > File > defaults.
Non-Scan Detector version 0.4.3
Release Date: January 28, 2026
Main goal: Operational enhancements
Fixes/improvements:
- Support graceful shutdown of the NS detector by releasing resources.
- Return the correct error when deploying incompatible models or incompatible config.
Non-Scan Detector version 0.4.1
Release Date: January 14, 2026
Main goal: GPU Optimisations
Fixes/improvements:
- GPU optimisations which will go in tandem with the agent 2.29.1.
- Fixed an issue when the recorder might overduplicate dropped frames
Non-Scan Detector version 0.4.0
Release Date: Dec 24, 2025
Main goal: Detect cart loss with 2 classes model (requires a new detector model inside the NS model -> 1 file with 2 models).
Beta version of Running on Edge-tpu - (still pending a few things for next version).
Fixes/improvements:
- Less debug logs - for seeing a clearer picture.
- Better status of errors are now sent to the backend.
- This version needs a new model (not backward compatible with previous NS model versions).
Non-Scan Detector version 0.3.0
Release Date: Dec 8, 2025
Main goal: Enhance detection accuracy through new alert management modules, improve system performance and robustness, and introduce critical security updates.
Major Features:
-
Advanced Alert Management & Accuracy
- Spikes Recognition Module: A new module that identifies and reports on sudden spikes in session activity. Includes the ability to suppress alerts during these events to reduce false positives in active mode.
- UI Feedback Integration: The system can now receive intervention events from the UI. When this flag is active, new alerts are suppressed until an "issue resolved" event is received (or a timeout occurs), preventing redundant alerts.
- Manual Entry Timeout: Added a configurable timeout for manual entry events to reduce false positives. (Primarily relevant for GE deployments).
- ROI Adjustment: The detector now automatically adjusts Regions of Interest (ROIs) on devices to dynamically improve precision and recall.
-
Performance & System Robustness
- Core system architecture has been updated for better performance, stability, and diagnostics.
- iGPU-Powered Recording (Windows): Video recording has been moved into the Non-Scan package, enabling better utilization of the iGPU on Windows systems. This reduces dropped frames and improves recording stability.
- Real Timestamps: All systems now use real timestamps for scans and frames, which improves log accuracy, helps detect system delays, and makes the entire pipeline more robust.
- Lower FPS Support: The system now supports running at a frame rate lower than 30fps, offering flexibility for different hardware. (Note: Performance trade-offs exist; deployment should be coordinated with AI team).
-
Enhanced Security & Diagnostics
- Key updates to meet security requirements and provide better tools for analysis.
- HTTPS & Authentication: Added support for HTTPS and Bearer Token authentication to secure the detector's API endpoints.
- New Visualization Tool: For each session, the detector now saves a JSON file with detailed algorithm results. This allows for immediate post-session inspection and analysis without needing to re-run the system offline to understand why an alert occurred.
-
Important Notes:
- System Requirements: The Non-Scan Detector's resource footprint has increased by approximately 400 MB due to the inclusion of new modules and recording capabilities. Please ensure sufficient memory is allocated on the host devices.
Fixes:
- Resolved an issue where run_detection could be triggered from the UI on a running session, which previously caused the service to crash.
Smaller Improvements:
- Reduced alert delay by approximately 1 second (default alert delay is now ~1.5 seconds).
- Increased the frame queue size to further reduce the number of dropped frames.
- Improved FPS logging within sessions to more clearly identify when frame drops occur.
- Removed several unused parameters from the model's configuration.
- Added a flag to run the Non-Scan detector without the LP algorithm, primarily for recording and testing purposes.
- Improved log timing by synchronizing with the agent clock.
Non-Scan Detector version 0.2.0
- Official stable support of OpenVino detector (uses more intelGPU and less CPU)
- Adjust from config all ROIs to get better results (smaller/bigger/move) - default null
- Allow alert on NS that started in checkout
- Better logging in windows and linux
Fixes:
- Fix for NS to alert if it happens in latest frames
- Less frames drop - improves performance
** as always for new version of NS, this version will require also a new model - (old model config will fail)
Non-Scan Detector version 0.1.18
- YOLO-OpenVINO Integration
- Integrated a working version of YOLO using OpenVINO, which:
- Improves performance by utilizing more GPU and less CPU
- Integrated a working version of YOLO using OpenVINO, which:
- Improved Non-Scan Re-Detection
- Added a fix to re-scan for missed non-scan events, improving the detector's ability to catch subsequent issues at checkout.
- Video Input & Shared Memory Enhancements (Linux)
- Improved video reading pipeline, with support for:
- Shared memory (shm) on Linux systems
- Raw, H.264, and H.265 video formats (Previously, only UDP + RTP + JPEG was supported)
- Improved video reading pipeline, with support for:
Non-Scan Detector version 0.1.11
Algorithm Improvements:
- Enhanced detection of NS Type B events—identifying items moved without passing over the scale.
- Improved scan matching for greater accuracy in distinguishing scanned vs. unscanned items.
- Enhanced tracking quality, reducing false positives and improving event precision
- Added support for multi-scan handling
Production:
- Windows OS support added for broader platform compatibility.
- Introduced preset configurations for precision levels:
- Strict: Maximizes detection accuracy, minimizing false negatives.
- Normal: Balanced approach for optimal performance.
- Soft: Allows more leniency, reducing potential false alerts.
- Improved error handling and reporting with the Edgify agent.
- Refined alert frames, displaying a more complete item path where necessary.
- Optimized time reports, ensuring more accurate timestamps for detected events.
- Faster debugging capabilities.
Framework improvements:
- Parallel execution for evaluation.
- End-to-end (E2E) testing.
- Improved configuration management, making customization more seamless.
- Ability to function without videos.
- Benchmarking on GE (Giant Eagle) for performance insights.
- Production metrics added.
Note: This version of non-scan detector doesn't support any backward compatibility for old model usage.
Non-Scan Detector version 0.0.13
New Non Scan Detector - with a fix to the non unique group ids of injected non scans
- Fix to UUID of alerts
- Improved timing for each sample in alert
- Improve up to 10% speed of detection model.